package com.code.domain;

import org.springframework.stereotype.Component;


public class Dish {
    Integer dishId;
    String dishName;
    Double price;
    Type dishType;
    String image;

    public Dish() {
    }

    public Dish(Integer dishId, String dishName, Double price, Type dishType) {
        this.dishId = dishId;
        this.dishName = dishName;
        this.price = price;
        this.dishType = dishType;
    }

    public Dish(Integer dishId, String dishName, Double price, Type dishType, String image) {
        this.dishId = dishId;
        this.dishName = dishName;
        this.price = price;
        this.dishType = dishType;
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Dish(String dishName, double price, Type type) {
        this.dishName = dishName;
        this.price = price;
        this.dishType = type;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Type getDishType() {
        return dishType;
    }

    public void setDishType(Type dishType) {
        this.dishType = dishType;
    }
}
